﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;  
namespace BUS
{
    public class ChiTietPhieuChi_BUS
    {
        private static ChiTietPhieuChi_BUS m_instance = null;

        public static ChiTietPhieuChi_BUS Instance
        {
            get
            {
                if (m_instance == null)
                    m_instance = new ChiTietPhieuChi_BUS();
                return m_instance;
            }
        }

        /// <summary>
        ///   them ct phieu chi
        /// </summary>
        /// 

        public bool ThemChiTietPhieuChi(ChiTietPhieuChi_DTO _item)
        {
            return ChiTietPhieuChi_DAO.Instance.ThemChiTietPhieuChi(_item.MaPhieuChi, _item.MaPhi, _item.ThanhTien);
        }
    }
}
